﻿using PetaPoco;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BrnMall.Manager.Domain.Messages
{
    [TableName("bma_messages")]
    [PrimaryKey("msgid")]
    public class MessagesModel
    {
        public MessagesModel()
        {
            IsCheck = 0;
            MsgTitle = MsgContent = string.Empty;
        }
        /// <summary>
        /// 创意id
        /// </summary>
        public int Msgid { get; set; }

        public int storeId { get; set; }
        /// <summary>
        /// 创意标题
        /// </summary>
        public string MsgTitle { get; set; }
       /// <summary>
       /// 创意描述
       /// </summary>
        public string MsgContent { get; set; }
        /// <summary>
        /// 创意时间
        /// </summary>
        public DateTime MsgCreateTime { get; set; }
        /// <summary>
        /// 商家评论
        /// </summary>
        public string Comment { get; set; }
        /// <summary>
        /// 是否通过审核
        /// </summary>
        public int IsCheck { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }
        /// <summary>
        /// 上传图片
        /// </summary>
        public string MsgImg { get; set; }
        /// <summary>
        /// 商品类型
        /// </summary>
        public string LinkType { get; set; }
        public string LinkValue { get; set; }
    }
}
